﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Imdb;

namespace MoviesManager.Helpers
{
    class IMDBHelpers
    {
        public static void download_Poster(Movie M)
        {
            M.Poster = Properties.Resources.ajax_loader;
            using (var Wc = new System.Net.WebClient())
            {
                M.Poster = System.Drawing.Image.FromStream(new System.IO.MemoryStream(Wc.DownloadData(new Uri(M.PosterUrl))));
            }
        }
    }
}
